package com.csun.cmny.provider.model.domain;

import javax.persistence.*;

@Table(name = "cn_dmc_rfid_label_oldman")
public class DmcRfidLabelOldman {
    /**
     * 设备Id
     */
    @Id
    @Column(name = "device_id")
    private Long deviceId;

    /**
     * 老人Id
     */
    @Id
    @Column(name = "oldman_id")
    private Integer oldmanId;

    /**
     * 获取设备Id
     *
     * @return device_id - 设备Id
     */
    public Long getDeviceId() {
        return deviceId;
    }

    /**
     * 设置设备Id
     *
     * @param deviceId 设备Id
     */
    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    /**
     * 获取老人Id
     *
     * @return oldman_id - 老人Id
     */
    public Integer getOldmanId() {
        return oldmanId;
    }

    /**
     * 设置老人Id
     *
     * @param oldmanId 老人Id
     */
    public void setOldmanId(Integer oldmanId) {
        this.oldmanId = oldmanId;
    }
}